rk_pwm: use clock framework API to get module clock
authorKever Yang <[email protected]>
Fri, 12 Aug 2016 09:57:48 +0000 (17:57 +0800)
committerSimon Glass <[email protected]>
Thu, 22 Sep 2016 13:32:22 +0000 (07:32 -0600)
commit12406ae247736bb6dfd4a92431caec33ab2a54d7
treeb46bcf38bcb7e50daf28d1756b122007f58429d4
parentce26e8a1ddd55fc09e527f8381d54c35a02364c2
rk_pwm: use clock framework API to get module clock

This patch use clock API instead of hardcode for get pwm clock.

Signed-off-by: Kever Yang <[email protected]>
Acked-by: Simon Glass <[email protected]>
Fix printf() to debug() nit:
Signed-off-by: Simon Glass <[email protected]>
drivers/pwm/rk_pwm.c